package model

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	UserId   uint   `gorm:"type:bigint(20);not null;index:user_id_idx;comment:发布短视频的用户id"`
	Title    string `gorm:"type:varchar(255);not null;comment:视频标题"`
	VideoUrl string `gorm:"type:varchar(255);not null;comment:视频路由"`
	LikeNum  uint   `gorm:"type:bigint(20);not null;comment:视频点赞量"`
}
